From af92b4bbdf922bd5f66d4718290b4170854ce7be Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Thu, 26 Apr 2007 11:18:42 +0100 Subject: [PATCH] hvm ioemu: Fix SCSI initialisation after c/s 14942. Signed-off-by: Keir Fraser --- tools/ioemu/hw/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ioemu/hw/pc.c b/tools/ioemu/hw/pc.c index 0a9cd0db35..952e4ee983 100644 --- a/tools/ioemu/hw/pc.c +++ b/tools/ioemu/hw/pc.c @@ -922,7 +922,7 @@ static void pc_init1(uint64_t ram_size, int vga_ram_size, char *boot_device, #endif #else if (pci_enabled) { - void *scsi; + void *scsi = NULL; for (i = 0; i < MAX_SCSI_DISKS ; i++) { if (!bs_table[i + MAX_DISKS]) continue; -- 2.30.2